package com.sh1604.duitang.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;

/**
 * ***********************************************************
 * author: jie
 * time: 2016/7/20 19:46
 * name:
 * overview:Build.VERSION.SDK_INT:版本号
 * usage:
 * *************************************************************
 */
public class FindGvView extends GridView{
    public FindGvView(Context context) {
        super(context);
    }

    public FindGvView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,MeasureSpec.AT_MOST);
        super.onMeasure(widthMeasureSpec, expandSpec);
    }
}
